<div class="banner">
          <g:if test="${fRuler!= "" && fRuler!=null}">
			<ul class="ui-tiled ui-info-tiled ui-border-t">
                <li>
                    <div class="num">
                    <g:if test="${subproject?.subamount==-1}">
				<em> 不限
				</em>
				</g:if>
				<g:else>
				<em> ${subproject?.subamount}
				</em>元
				</g:else></div>
                    <div>目标</div>
                </li>
                 
                <li>
                    <div class="num"><em><g:formatNumber number="${subFDonates}" format="0.00"/></em>元</div>
                    <div>爱心池配捐</div>
                </li>
               
                <li>
                    <div class="num"><em><g:formatNumber number="${subproject?.subdonate}" format="0.00"/></em>元</div>
                    <div>捐款金额</div>
                </li>
            </ul>
             </g:if>
             <g:else>
	<div class="ui-flex">
		<div class="left">
			<div>
				<g:if test="${subproject.subamount==-1}">
				<em> 不限
				</em>
				</g:if>
				<g:else>
				<em> ${subproject.subamount}
				</em>元
				</g:else>
				
			</div>
			<div>目标</div>
		</div>
		<div class="right">
			<div>
				<em> 
					<g:formatNumber number="${subproject.subdonate}" format="0.00"/>
				</em>元
			</div>
			<div>捐款金额</div>
		</div>
		
	</div>
	</g:else>
	
	<g:if test="${subproject?.subamount !=-1}">
	<div class="ui-progress-box" >
		<div class="ui-progress">
		<g:if test="${fRuler!= "" && fRuler!=null}">
		
		<span style="width:<g:formatNumber number="${(subFDonates+subproject?.subdonate)*100/subproject.subamount}" format="0.00"/>%"></span>
		</g:if>
		<g:else>
		<span style="width:${subproject?.subprogress}%"></span>
		</g:else>
			
		</div>
		<div class="ui-progress-val">
		<g:if test="${fRuler!= "" && fRuler!=null}">
		<g:formatNumber number="${(subFDonates+subproject?.subdonate)*100/subproject.subamount}" format="0.00"/>%
		</g:if>
		<g:else>
			<g:formatNumber number="${subproject.subdonate / subproject.subamount * 100}" format="0.00"/>%
			</g:else>
		</div>
	</div>
	</g:if>
	<div class="avatar-list-wrap" >
		<g:if test="${donateUsers.size() !=0 }">
		<ul class="ui-justify avatar-list" onclick="window.location.href='/scfire/donate/donateThanks?subprojectId=${subproject?.id}'">
				<g:each in="${donateUsers}" var="dUser">
					<li><a href="#" class="ui-avatar-tiled"> 
					<g:if test="${dUser.headimgurl!=null }">
						<span style="background-image:url(${dUser.headimgurl})"></span>
					</g:if> 
					<g:else>
						<span style="background-image:url(${resource(dir: 'images/demo', file: 'demo-avatar-1.jpg')})"></span>
					</g:else>
					</a></li>
				</g:each>
		</ul>
		<i class="icon-left"></i>
		</g:if>
		
	</div>
	<p class="gray">
		共有<em> ${subproject?.subdonateSize}
		</em>位小伙伴一起参与
	</p>
</div>